from pathlib import Path

from oracle.all_status_code import status_code

# Build paths inside the project like this: BASE_DIR / 'subdir'.
# __file__ -> Django_project_dir/Django_project_name/Current_project_name/setting_files/base.py
BASE_DIR = Path(__file__).resolve().parent.parent.parent

# ################## 状态码相关配置 ####################
STATUS_CODE = status_code

# 外部渲染标志， "external"返回json数据，"internal"返回内部渲染页面
RENDER = "internal"
# 版本信息
B_VERSION = '21.08'
# Current_project_name
PROJECT_NAME = BASE_DIR.name
